<?php
/**
 * Created by PhpStorm.
 * User: Inhere
 * Date: 14-5-8
 * Time: 下午4:09
 * File: ViewController.php
 */
namespace builder\controllers;

use builder\parts\BaseController;

class ViewController extends BaseController
{

    public function init()
    {
        parent::init();

        $this->pageTitle .= '视图层创建页';
    }

    protected function actionBindToClass()
    {
        return ['about'];
    }

    public function indexAction()
    {
        return $this->display();
    }
}